home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
WINICONS
/
ICOS115.ZIP
/
ICOINST.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-03-12
|
1KB
|
53 lines
@echo off
REM
REM Install IcoShow
REM Last revision 03/12/93
REM Usage: ICOINST source-drive: destination_drive:directory
REM
if "%1"=="" goto usage
if not exist %1\icoinst.bat goto usage
if "%2"=="" goto usage
if exist %2\NUL goto copyit
md %2
if not exist %2\NUL goto error
:copyit
echo.
echo Copying IcoShow to directory %2
copy %1\icoshow.exe %2 >NUL
copy %1\icoshow.hlp %2 >NUL
if exist %2\icoshow.ini goto warning
copy %1\icoshow.ini %2 >NUL
goto endcopy
:warning
echo.
echo Your file ICOSHOW.INI wasn't been overwritten since you have an old version.
echo If you wish to write a new version set the option "Save settings" from
echo options menu and IcoShow will do it for you.
pause
:endcopy
echo.
echo The copy was succesfully. Start IcoShow with
echo %2\icoshow
echo from Windows.
echo.
goto quit
:usage
echo Use IcoShow with the following command line
echo.
echo ICOINST source_drive: destination_drive:directory
echo.
goto quit
:error
echo I could not create the directory %2. Please repeat the installation.
echo Possibly disk is full.
:quit